//app.js
App({

      userid:"",
      nickName:"",
      password:"",
      sex:null,
      avatarUrl:"",
      hasUserInfo:false,

      postid:0,

      //决定返回广场还是我的帖子页,或其他
      back_myPost:1,

      //判断是否添加了帖子，用于刷新广场页
      hasAddPost:false,

      //刷新p2
      p2_shuaxin:false,

      //主页背景图Id
      selectId:1,
      pictureUrl:"http://120.24.97.106:8080/picture/rain.gif",
      p2_toptexts:"将平凡的日子隽永成画！",

      //我的收藏
      myLikeList:[],


    //onLaunch,onShow: options(path,query,scene,shareTicket,referrerInfo(appId,extraData))
    onLaunch: function(options) {
        
    },
    onShow: function(options) {
        
    },
    onHide: function() {

    },
    onError: function(msg) {

    },
    //options(path,query,isEntryPage)
    onPageNotFound: function(options) {

    },
    
});
  